class XD_MissionsDialog {
	idd = -1;
	movingEnable = 1;
	onLoad = "uiNamespace setVariable ['XD_MISSIONS_DIALOG', _this select 0]";
	objects[] = {};
	class controlsBackground {
		class XD_BackGround : XC_RscText {
			idc = -1;
			type = 0;
			style = 48;
			x = 0;
			y = 0;
			w = 1.93;
			h = 1.3;
			XCTextBlack;
			colorBackground[] = {0,0,0,0};
			text = "\ca\ui\data\ui_mainmenu_background_ca.paa";
			font = "Zeppelin32";
			sizeEx = 0.032;
		};
	};	
	class controls {
		class XD_MissionSelectionCaption : XC_RscText {
			idc = 1998;
			x = 0.12;
			y = 0.15;
			w = 0.75;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Select a mission";
		};
		class MissionsCombo:XD_UIComboBox {
			idc = 1001;
			x = 0.125;
			y = 0.225;
			w = 0.77;
			h = 0.03;
			onLBSelChanged = "[_this] execVM 'missions\selection_changed.sqf'"; 
		};
		class XD_CloseButton: XD_ButtonBase {
			idc = -1;
			text = "Close"; 
			action = "closeDialog 0";
			default = true;
			x = 0.68;
			y = 0.945;
		};
		class XD_EndButton: XD_ButtonBase {
			idc = 5001;
			text = "End Mission"; 
			action = "['d_s_mexecute',['XfMissionCancelExecuting',[player]]] call XNetCallEvent; closeDialog 0";
			default = true;
			x = 0.38;
			y = 0.945;
		};
		class XD_SelectButton: XD_ButtonBase {
			idc = -1;
			text = "Start"; 
			action = "_params = [DM_DIALOG_MISSIONID,(call XfMissionLaunchParams),player]; ['d_all_mlaunch',_params] call XNetCallEvent; closeDialog 0;";
			default = false;
			x = 0.12;
			y = 0.945;
		};
		class XD_MainCaption : XC_RscText {
			x = 0.12;
			y = 0.05;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.035;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = "MISSIONS DIALOG";
		};
		class XD_GeneralCaption : XC_RscText {
			x = 0.12;
			y = 0.25;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Mission Description";
		};
		class XD_GeneralTxt : XC_RscText {
			idc = 2007;
			style = 16;
			lineSpacing = 1;
			colorbackground[] = {0.643, 0.5742, 0.4102, 0.4};
			x = 0.128;
			y = 0.32;
			w = 0.5;
			h = 0.29;
			sizeEx = 0.029;
			text = "";
		};
		class XD_KeywordsCaption : XC_RscText {
			x = 0.12;
			y = 0.61;
			w = 0.25;
			h = 0.1;
			sizeEx = 0.029;
			colorbackground[] = {0, 0, 0, 0};
			XCTextBlack;
			text = "Keywords";
		};
		class XD_KeywordsTxt : XC_RscText {
			idc = 2008;
			style = 16;
			lineSpacing = 1;
			colorbackground[] = {0.643, 0.5742, 0.4102, 0.4};
			x = 0.128;
			y = 0.68;
			w = 0.5;
			h = 0.04;
			sizeEx = 0.029;
			text = "";
		};
		class XD_ChaptersCaption : XC_RscText {
			x = 0.12;
			y = 0.69;
			w = 0.3;
			h = 0.1;
			sizeEx = 0.029;
			colorbackground[] = {0, 0, 0, 0};
			XCTextBlack;
			text = "Number of chapters";
		};
		class XD_ChaptersTxt : XC_RscText {
			idc = 2009;
			style = 16;
			lineSpacing = 1;
			colorbackground[] = {0.643, 0.5742, 0.4102, 0.4};
			x = 0.128;
			y = 0.76;
			w = 0.5;
			h = 0.04;
			sizeEx = 0.029;
			text = "";
		};
		class XD_StartTimeCaption : XC_RscText {
			idc = 3001;
			x = 0.64;
			y = 0.25;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Mission Start Time";
		};
		class StartTimeCombo:XD_UIComboBox {
			idc = 4001;
			x = 0.645;
			y = 0.32;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_TIME = (_this select 1);"; 
		};
		class XD_StartWeatherCaption : XC_RscText {
			idc = 3002;
			x = 0.64;
			y = 0.33;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Mission Start Weather";
		};
		class StartWeatherCombo:XD_UIComboBox {
			idc = 4002;
			x = 0.645;
			y = 0.40;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_WEATHER = (_this select 1);"; 
		};
		class XD_EnemyPowerCaption : XC_RscText {
			idc = 3003;
			x = 0.64;
			y = 0.44;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Enemy Power";
		};
		class EnemyPowerCombo:XD_UIComboBox {
			idc = 4003;
			x = 0.645;
			y = 0.51;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_POWER = (_this select 1);"; 
		};
		class XD_AddReinforcementCaption : XC_RscText {
			idc = 3004;
			x = 0.64;
			y = 0.52;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Add random reinforcement";
		};
		class AddReinforcementCombo:XD_UIComboBox {
			idc = 4004;
			x = 0.645;
			y = 0.59;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_REINFORCEMENT = (_this select 1);"; 
		};
		class XD_EnemyAirSpawnCaption : XC_RscText {
			idc = 3005;
			x = 0.64;
			y = 0.60;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Enemy Air Support";
		};
		class EnemyAirSpawn:XD_UIComboBox {
			idc = 4005;
			x = 0.645;
			y = 0.67;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_AIRSUPPORT = (_this select 1);"; 
		};
		class XD_EnemyCommunicationCaption : XC_RscText {
			idc = 3006;
			x = 0.64;
			y = 0.68;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Enemy Comm. Distance";
		};
		class EnemyCommunication:XD_UIComboBox {
			idc = 4006;
			x = 0.645;
			y = 0.75;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_COMM = (_this select 1);"; 
		};
		class XD_AddSnipersCaption : XC_RscText {
			idc = 3007;
			x = 0.64;
			y = 0.76;
			w = 0.245;
			h = 0.1;
			sizeEx = 0.029;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "Add snipers";
		};
		class AddSnipers:XD_UIComboBox {
			idc = 4007;
			x = 0.645;
			y = 0.83;
			w = 0.245;
			h = 0.03;
			onLBSelChanged = "DM_DIALOG_SNIPER = (_this select 1);"; 
		};
	};
};